package edu.bupt.ooad.library;

public class Book {

    private int bookId;
    
    private boolean available;
    
    private BookDescription description;
    
    public Book(BookDescription description) {
        this.description = description;
    }
    
    public void setBookId(int bookId) {
        this.bookId = bookId;
    }
    
    public int getBookId() {
        return bookId;
    }
    
    public void setAvailable(boolean available) {
        this.available = available;
    }
    
    public boolean isAvailable() {
        return available;
    }
    
    public void setDescription(BookDescription description) {
        this.description = description;
    }
    
    public BookDescription getDescription() {
        return description;
    }
}
